Write Stage 5 published artifact index#1047
Merged
Merged
Conversation
cdab9c2 to
3bb4445
Compare
c245899 to
ba204cf
Compare
fb478fd to
3859aeb
Compare
3859aeb to
f9c90ed
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1044
Summary
PublishedArtifactIndexRowJSONL builders/readers/writers for Stage 5 release promotion outputsdiagnostics/published_artifact_index.jsonlduringpromote_runand record it in the step manifestrelease_promotion_contract.json, with docs and unit/source-contract coverageValidation
ruff check modal_app/pipeline.py policyengine_us_data/release_promotion/__init__.py policyengine_us_data/release_promotion/contract.py policyengine_us_data/release_promotion/published_index.py tests/unit/release_promotion/test_contract.py tests/unit/release_promotion/test_published_index.py tests/unit/test_pipeline_source_contracts.pyruff format --check modal_app/pipeline.py policyengine_us_data/release_promotion/__init__.py policyengine_us_data/release_promotion/contract.py policyengine_us_data/release_promotion/published_index.py tests/unit/release_promotion/test_contract.py tests/unit/release_promotion/test_published_index.py tests/unit/test_pipeline_source_contracts.pyuv run --no-sync pytest tests/unit/release_promotion/test_contract.py tests/unit/release_promotion/test_published_index.py tests/unit/test_pipeline_source_contracts.py tests/unit/test_pipeline_docs_extractor.py tests/unit/test_pipeline_doc_guards.py(36 passed)uv run --no-sync --with pyyaml python scripts/extract_pipeline_docs.pygit diff --check origin/main...HEAD